<!DOCTYPE html>
<html lang="en" class="app">
<head>
  <meta charset="utf-8" />
  <title>酒店一站式全网直销系统</title>
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" /> 
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
  <link rel="stylesheet" href="/public/assets/biz/css/bootstrap.css" type="text/css" />
  <link rel="stylesheet" href="/public/assets/biz/css/font-awesome.min.css" type="text/css" />
  <link rel="stylesheet" href="/public/assets/biz/css/app.css" type="text/css" />
  <link rel="stylesheet" href="/public/sysadmin/css/plugins/gritter/jquery.gritter.css" type="text/css" />
  <script src="/public/assets/biz/js/jquery.min.js"></script>
  <!--[if lt IE 9]>
    <script src="/public/assets/biz/js/ie/html5shiv.js" cache="false"></script>
    <script src="/public/assets/biz/js/ie/respond.min.js" cache="false"></script>
    <script src="/public/assets/biz/js/ie/excanvas.js" cache="false"></script>
  <![endif]-->
    <style>
        #gritter-notice-wrapper{left: 50%;margin-left: -150.5px;}
        #gritter-notice-wrapper .gritter-without-image p span{width: 17px;height: 17px;display: block;float: left;margin-right: 5px;}
        #gritter-notice-wrapper .gritter-without-image p span.icon-ok{background-image: url('/public/home/img/correct.png');}
        #gritter-notice-wrapper .gritter-without-image p span.icon-remove{background-image: url('/public/home/img/error.png');}
        
        #my_prompt{
            position: fixed;width: 100%;height: 100%;z-index: 50;top: 0;left: 0;display: none;
        }
        #my_prompt_show{
            position: fixed;width: 100%;height: 100%;z-index: -1;top: 0;left: 0;display: block;background-color: #dedede;
            filter:alpha(opacity=70);-moz-opacity:0.7;-khtml-opacity: 0.7;opacity: 0.7;
        }
        #my_prompt_content{
            width: 390px;height: 300px; margin: 10% auto;font-size: 14px;
            border: 1px solid #84888b;color: black;background-color: #fff;border-radius: 5px;
        }
        #my_prompt_content a{
            display: block;width: 300px;height: 35px;background-color: #fe7839;color: #fff;font-size: 24px;margin: 0 auto;text-align: center;border-radius: 3px;
        }
        #my_prompt_title{
            font-size: 24px;text-align: center;color: #41586e;padding: 10px 0;border-bottom: 1px solid #adb5bd;width: 96%;margin: 0 auto;
        }
        #my_prompt_text{
            padding: 50px 30px 30px 30px;text-align: center;color: #555555;height: 170px;font-family: '宋体';color: #41586e;font-size: 16px;
        }
        
    </style>
</head>
<body>
  <section class="vbox" style="z-index: 1;">
    <header class="bg-dark dk header navbar navbar-fixed-top-xs">
      <div class="navbar-header aside-md">
        <a class="btn btn-link visible-xs" style="background: #25313e;" data-toggle="class:nav-off-screen" data-target="#nav">
          <i class="fa fa-bars"></i>
        </a>
        <?
            $this->loadModel('hotel','category');
        	$hoteName=$this->hotel->categoryModel->fetchRow("select hotelName from hotel_category where id=".(isset($_SESSION['hotel_id'])?$_SESSION['hotel_id']:0)." and partnerid=".$this->partnerInfo['id']);
        ?>
        <a href="#" class="navbar-brand" data-toggle="fullscreen"><img src="/public/assets/biz/images/logo.png" class="m-r-sm"><?=$hoteName['hotelName']?></a>
        <a class="btn btn-link visible-xs" style="background: #25313e;" data-toggle="dropdown" data-target=".nav-user">
          <i class="fa fa-cog"></i>
        </a>
      </div>
      <div style="float: right;">
      <ul class="nav navbar-nav navbar-right hidden-xs nav-user">
        <li class="dropdown">
          <a href="#" class="dropdown-toggle" data-toggle="dropdown">
            <span class="thumb-sm avatar pull-left">
              <img src="/public/assets/biz/images/avatar.jpg">
            </span>
            <?=$this->partnerInfo['userName']?> <b class="caret"></b>
          </a>
          <ul class="dropdown-menu animated fadeInRight">
            <span class="arrow top"></span>
            <li>
              <a href="/" target="_blank">网站首页</a>
            </li>
            <li>
              <a href="<?=$this->url("user/basic")?>">酒店资料</a>
            </li>
            <li>
              <a href="<?=$this->url("user/password")?>">修改密码</a>
            </li>
            <li class="divider"></li>
            <li>
              <a href="<?=$this->url("common/logout")?>" data-toggle="ajaxModal" >退出</a>
            </li>
          </ul>
        </li>
      </ul>  
      </div>   
      <div style="height:50px;line-height: 50px;float: right;"><span>当前时间：<label id="showtime"></label></span></div> 
    </header>
	
    <section>
      <section class="hbox stretch">
        <!-- .aside -->
        <? include $this->loadView('index/left');?>
        <!-- /.aside -->
        
        <!-- content  start -->
		<? include $this->loadView();?>
		<!-- content  end -->
        <aside class="bg-light lter b-l aside-md hide" id="notes">
          <div class="wrapper">Notification</div>
        </aside>
      </section>
    </section>
  </section>
  
  <!--遮罩层 sta-->
  <div id="shadefrist"></div>
  <!--遮罩层 end-->

<script type="text/javascript">
function showLocale(objD){
    var str;
	var yy = objD.getYear();
	if(yy<1900) yy = yy+1900;
	var MM = objD.getMonth()+1;
	if(MM<10) MM = '0' + MM;
	var dd = objD.getDate();
	if(dd<10) dd = '0' + dd;
	var hh = objD.getHours();
	if(hh<10) hh = '0' + hh;
	var mm = objD.getMinutes();
	if(mm<10) mm = '0' + mm;
	var ss = objD.getSeconds();
	if(ss<10) ss = '0' + ss;
	var ww = objD.getDay();
	str = MM + "-" + dd + " " + hh + ":" + mm + ":" + ss ;
	return(str);
}
function tick()
{
	var today;
	today = new Date();
	document.getElementById("showtime").innerHTML = showLocale(today);
	window.setTimeout("tick()", 1000);
}
tick();
</script>
  
    <script src="/public/sysadmin/js/bootstrap.min.js"></script>
    <script src="/public/sysadmin/js/plugins/gritter/jquery.gritter.min.js"></script>
    <script src="/public/sysadmin/js/zjj_function.js"></script>
    <script src="/public/sysadmin/js/plugins/form/jquery.form.min.js"></script>
    <script src="/public/sysadmin/js/plugins/validation/jquery.validate.min.js"></script>
    <script src="/public/sysadmin/js/eakroko.js"></script>
</body>
</html>